home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 011 / boot.lbr / WARMBOOT.DOC < prev   
Encoding:
Text File  |  1985-06-03  |  896 b   |  31 lines

  1.  
  2.  #: 89377      Sub-topic 0 - General Information
  3. Sb: #89194-Warm Boot HELP???
  4.     26-Jan-85  23:55:55
  5. Fm: skip gilbrech 71445,534
  6. To: FRANK PATTON 70055,474
  7.  
  8. Rebooting's about the simplest thing in the world...  to make a .com file
  9. which does a warm reboot do the following in Debug (drive & XXXX will
  10. differ):
  11.  
  12. A>DEBUG
  13. -A 100                                  ; assemble code at cs:100H
  14. XXXX:0100 MOV AX,40                     ; set ds to bios data segment
  15. XXXX:0103 MOV DS,AX
  16. XXXX:0105 MOV WORD PTR [72],1234        ; set flag to force 'warm' boot
  17. XXXX:010B JMP FFFF:0                    ; jump to chip initialization code
  18. XXXX:0110                               ; (enter RETURN)
  19. -R CX
  20. CX 0000
  21. :10
  22. -N REBOOT.COM
  23. -W
  24. Writing 0010 bytes
  25. -Q
  26.  
  27. You can force a 'cold' boot by changing the '1234' above to '0' (or anything
  28. else...)
  29.  
  30. (UA RE T): ra
  31.